package compiler.scanner.nfa;

public class NFAItem
{
    //~ Instance fields --------------------------------------------------------

    private NFAState endState;
    private NFAState startState;

    //~ Constructors -----------------------------------------------------------

    public NFAItem(NFAState startState, NFAState endState)
    {
        super();
        this.startState = startState;
        this.endState   = endState;
    }

    //~ Methods ----------------------------------------------------------------

    public NFAState getEndState()
    {
        return endState;
    }

    public NFAState getStartState()
    {
        return startState;
    }
}
